//
//  modalMapView.h
//  citipad
//
//  Created by Chih Yuan Liu on 3/9/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h> 
#import "CTPPlacesFetcher.h"

@interface modalMapView : UIViewController<UITableViewDataSource, UITableViewDelegate,
CTPPlacesFetcherDelegate> {
	double latitude;
	double longitude;
	NSString* strtitle;
	NSString* strsubtitle;
	IBOutlet MKMapView *map;
	IBOutlet UIView *holderView;
	IBOutlet UITableView *spotListView;
}

@property (nonatomic, retain) IBOutlet MKMapView *map;
@property (nonatomic, retain) IBOutlet UIView *holderView;
@property (nonatomic, retain) IBOutlet UITableView *spotListView;


- (void)setLocation:(double)lat lng:(double)lng;
- (void)setAnnoTitle:(NSString*)annotitle subtitle:(NSString*)subtitle;
-(IBAction) close;

@end
